﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_Country : DataObject
    {
        [Column]
        public string Country { get { return _Country; } set { _Country = value; EntityState.FieldChange("Country"); } }
        private string _Country;
        public static FieldInfo country = new FieldInfo("m_Country", "Country");

        [Column]
        public string CountryName { get { return _CountryName; } set { _CountryName = value; EntityState.FieldChange("CountryName"); } }
        private string _CountryName;
        public static FieldInfo countryname = new FieldInfo("m_Country", "CountryName");

        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("m_Country", "Time");

        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("m_Country", "Status");
    }
}
